package com.coderman.infosys.busorder.convert;

import java.util.List;
import com.coderman.infosys.busorder.dao.dataobject.BusniessOrderDO;
import com.coderman.infosys.busorder.domain.bo.BusinessOrderBO;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
* @Description:业务工单接口
* @Author:
* @CreateTime:2021-09-30 11:16:45
* @version v1.0
*/
@Mapper
public interface BusinessOrderConvert{
	BusinessOrderConvert INSTANCE = Mappers.getMapper(BusinessOrderConvert.class);

	/**
	 *
	 * @Description:
	 * @return BusinessOrderBO
	 */
	 BusinessOrderBO do2bo(BusniessOrderDO busniessOrderDO);
	/**
	 *
	 * @Description:
	 * @return List<BusinessOrderBO>
	 */
	 List<BusinessOrderBO> doList2boList(List<BusniessOrderDO> busniessOrderDOList);
	/**
	 *
	 * @Description:
	 * @return BusniessOrderDO
	 */
	 BusniessOrderDO bo2do(BusinessOrderBO businessOrderBO);
	/**
	 *
	 * @Description:
	 * @return List<BusniessOrderDO>
	 */
	 List<BusniessOrderDO> boList2doList(List<BusinessOrderBO> businessOrderBOList);
}